package com.wings4.school.student

class Shift {
    String shiftName;
    Date shiftStartTime;
    Date shiftEndTime;
    String description;

    static mapping = {
        shiftStartTime(sqlType: 'time');
        shiftEndTime(sqlType: 'time');
    }

    static constraints = {
        description(nullable: true);
    }
}
